<?php

class Form_Login extends Zend_Form
{

	public function init()
	{
		$this->setAttrib('id', 'login');
		$this->setAction('/login/login')
           ->setMethod('post');
		   
		
		$this->addElement('text','username',array(
							'label' => 'Username:',
							'required'   => true
							));
		$this->addElement('password','password',array(
							'label' => 'Password:',
							'required'   => true
							));
			
		$this->addElement('hash', 'csrf', array(
							'ignore' => true,
						));
		
		$this->addElement('submit','submit', array(
							'ignore'   => true
						));
		
	}
	
		
}